<%@page import="com.bringway.global.domain.User"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">  
<meta http-equiv='X-UA-Compatible' content='IE=EmulateIE8' />  
<title>红点e贷服务管理系统</title>
<%
	User user = (User) request.getSession().getAttribute("currentUser");
	String gyh="",username="",roleId="",roleName="";
	if(null == user){
		//response.sendRedirect(request.getContextPath()+"/index.jsp");
	}else{
		gyh = user.getGyh();
		username = user.getUsername();
		roleId = user.getRoleId();
		roleName = user.getRoleName();
	}

%>
<jsp:include page="/global/common.jsp"  flush="true"/>
<script type="text/javascript" src="Main.js"></script>
<script type="text/javascript" src="AttrMgmt.js"></script>
<script type="text/javascript">
	var gyh = '<%=gyh%>';
	var username = '<%=username%>';
	var roleId = '<%=roleId%>';
	var roleName = '<%=roleName%>';
	Ext.onReady(function(){
		new Ext.Viewport({
			layout : 'fit',
			border : false,
			items : [new pages.attachment.attMgmt.Main()]
		});
	})
</script>
</head>
<body>
</body>
</html>